package fr.macie.dao;

import fr.macie.bdd.Bdd;
import fr.macie.entity.User;
import fr.macie.model.CustomEntityB;

public class DaoUserBdd implements CustomEntityB {

	 // attaque BddB.javaBddB.java ( sql)
	
	@Override
	public User readUser(int id) {
		User user = (Bdd.getListusers()).get(id);
		return user;
	}

	

}
